package cn.huapu.power.energy.service.impl;

import cn.huapu.power.energy.bean.Clientpowerhourst;
import cn.huapu.power.energy.bean.vo.ClientpowerhourstDayVo;
import cn.huapu.power.energy.mapper.ClientpowerhourstMapper;
import cn.huapu.power.energy.service.ClientpowerhourstService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 测试用户权限服务实现类
 * @author autogen
 *
 */
@Service
public class ClientpowerhourstServiceImpl extends BaseServiceImpl<ClientpowerhourstMapper, Clientpowerhourst,Integer> implements ClientpowerhourstService {

    @Autowired
    private ClientpowerhourstMapper clihouService;

    @Override
    @Transactional(readOnly = true)
    public ClientpowerhourstDayVo getDayElects(String year, String month, String day, int id) {
        ClientpowerhourstDayVo clihouVo = clihouService.getDayElects(year,month,day,id);
        return clihouVo;
    }
}
